package shop.up.product.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import shop.up.model.product.BaseTrademark;
import shop.up.product.mapper.BaseTrademarkMapper;
import shop.up.product.service.BaseTrademarkService;

/**
 * 商品品牌接口实现 {@link BaseTrademarkServiceImpl}
 *
 * @author Kevin
 * @date 2022/7/3
 */
@Service
public class BaseTrademarkServiceImpl
        extends ServiceImpl<BaseTrademarkMapper, BaseTrademark>
        implements BaseTrademarkService {

    // @Autowired
    // private BaseTrademarkMapper baseTrademarkMapper;
    //
    // @Override
    // public IPage<BaseTrademark> getPage(Page<BaseTrademark> pageParam) {
    //     QueryWrapper<BaseTrademark> queryWrapper = new QueryWrapper<>();
    //     queryWrapper.orderByAsc("id");
    //
    //     IPage<BaseTrademark> page = baseTrademarkMapper.selectPage(pageParam, queryWrapper);
    //     return page;
    // }

}
